import request from '@/utils/requestMd5'

export function productList(params) {
  return request({
    url: '/product/index',
    method: 'get',
    params
  })
}

//新增客户
export function productAdd(data) {
  return request({
    url: '/product/add',
    method: 'post',
    data
  })
}

//修改客户
export function productEdit(data) {
  return request({
    url: '/product/edit',
    method: 'post',
    data
  })
}
